package com.domain.service;

import com.alipay.api.AlipayApiException;
import com.domain.common.Result;

import java.util.Map;

public interface PublishService {
    //发布求助
    Result savePublish(String userId, String typeId, String publishTitle, String publishContent, String filterUserId, String longitude, String latitude, String itIsPaid, String cityName, String images, String money);

    Result getUsersPublish(String userId, String pageNum, String pageSize);

    Result getUserPublishDetail(String userId, String publishId);

    Result completePublish(String userId, String publishId);

    Result helpRedPacakgePay(String userId, String body, String subject, String total_amount) throws AlipayApiException;

    Result helpRedPacakgeSupplement(String userId, String money, String publishId, String body, String subject) throws AlipayApiException;

    Result judgeCompletePublish(String userId, String publishId);

    /*Result deleteUsersPublish(String publishId);*/
}
